<template>
	<view class="flag xxs flex row-center" :style="'background-color: '+color+' ;'">
		{{text}}
	</view>
</template>

<script>
	export default {
		name:"car-flag",
		data() {
			return {
				
			};
		},
		props:{
			text:{
				type:String,
				default:()=>'装'
			},
			color:{
				type:String,
				default:()=>'#df563b'
			}
		}
	}
</script>

<style scoped>
	.flag{
		border-radius: 50%;
		width: 40rpx;
		height: 40rpx;
		padding: 5rpx;
		color: #fff;
	}
</style>
